import request from '@/utils/request'

// 获取学生账户列表
export function getStudentAccounts(params) {
  return request({
    url: '/api/admin/student-accounts',
    method: 'get',
    params
  })
}

// 获取单个学生账户
export function getStudentAccount(id) {
  return request({
    url: `/api/admin/student-accounts/${id}`,
    method: 'get'
  })
}

// 删除学生账户
export function deleteStudentAccount(id) {
  return request({
    url: `/api/admin/student-accounts/${id}`,
    method: 'delete'
  })
} 